home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 41
/
Aminet 41 (2001)(Schatztruhe)[!][Feb 2001].iso
/
Aminet
/
util
/
rexx
/
MicroRexx202.lha
/
MicroRexx
/
Rexx
/
Window.rexx
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
NeXTSTEP
RISC OS
UTF-8
Wrap
OS/2 REXX Batch file
|
1998-08-07
|
400 b
|
28 lines
/* Window.rexx */
options results
address 'MicroRexx'
'OPENWIN' 10 10 300 100 'Window'
w = result
'BUTTON' w 0 30 30 30 30 "QUIT" 2
'STRING' w 1 100 50 80 16 "»" 1 5
'GADGETSON' w
'GADGETHIT' w
do forever
'GADGETHIT' w
g = result
say g
if g = 1 then do
'STRINGRESULT' w 1
say result
end
if g = 0 then do
signal 1
end
end
1:
'GADGETSOFF' w
'KILLGADGETS' w
'CLOSEWIN' w
exit